SftTree/NET 2.0

Position Property, ColumnClass Class

Softel vdm, Inc.

Defines the column's zero-based display position, used to visually reorder columns.

Syntax      ColumnClass Class (Softelvdm.SftTreeNET)

VB   

Public Property Position As Integer

C#   

public int Position { get; set; }

C++   

public: property int Position {
        int get();
        void set(int value);
}

Property Value

A value that specifies the column's zero-based display position.

Comments

The Position property defines the column's zero-based display position, used to visually reorder columns.

The Position property can be used to reorder columns under program control.

As a user reorders columns, this is completely transparent to the application. An application still references cells and columns by the "real" column number, which is the original column number that the cell or column had before columns were reordered by the user. While columns appear in a new order after dragging a column to a new position, the application references cells and columns by their real column number which never changes.

If a user reorders columns using column reordering, the (real) column numbers used by an application may need to be translated into the actual display column number, which is the column number as it appears to the user.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com